﻿enyo.kind({
    name: "enyo.Canon.WsSimple",
    kind: enyo.VFlexBox,
    components: [
        {kind: "Toolbar", pack: "end", components: [
            {caption: "Back", onclick: "back"}
        ]},
        {name: "pane", kind: "Pane", flex: 1, components: [
            {kind: "VFlexBox", className: "enyo-bg", components: [
                {kind: "PageHeader", content: "WebService Samples"},
                {kind: "Button", caption: "Feed List", onclick: "feedListClick"}
            ]},
            {kind: "Canon.FeedList", className: "enyo-bg"}
        ]}
    ],
    feedListClick: function() {
        this.$.pane.selectViewByName("feedList");
    },
    back: function(inSender, e) {
        this.$.pane.back(e);
    }
});